package org.mcb.zebra.portal.services;

import javax.portlet.PortalContext;

import org.apache.pluto.OptionalContainerServices;
import org.apache.pluto.RequiredContainerServices;
import org.apache.pluto.spi.PortalCallbackService;
import org.apache.pluto.spi.optional.PortalAdministrationService;
import org.apache.pluto.spi.optional.PortletEnvironmentService;
import org.apache.pluto.spi.optional.PortletInfoService;
import org.apache.pluto.spi.optional.PortletInvokerService;
import org.apache.pluto.spi.optional.PortletPreferencesService;
import org.apache.pluto.spi.optional.PortletRegistryService;
import org.apache.pluto.spi.optional.UserInfoService;
import org.mcb.zebra.portal.manager.ZebPortalManager;

/**
 * 
 * @author Trần Tùng - mailto : <a
 *         href="mailto:myname74119@gmail.com">myname74119@gmail.com</a>
 * 
 */
public class ZebContainerServices implements OptionalContainerServices,
		RequiredContainerServices {
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.apache.pluto.OptionalContainerServices#getPortalAdministrationService()
	 */
	@Override
	public PortalAdministrationService getPortalAdministrationService() {

		return null;
	}
	/*
	 * (non-Javadoc)
	 * @see org.apache.pluto.OptionalContainerServices#getPortletEnvironmentService()
	 */
	@Override
	public PortletEnvironmentService getPortletEnvironmentService() {
		return null;
	}
	/*
	 * (non-Javadoc)
	 * @see org.apache.pluto.OptionalContainerServices#getPortletInfoService()
	 */
	@Override
	public PortletInfoService getPortletInfoService() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public PortletInvokerService getPortletInvokerService() {
		// TODO Auto-generated method stub
		return null;
	}
	/*
	 * (non-Javadoc)
	 * @see org.apache.pluto.OptionalContainerServices#getPortletPreferencesService()
	 */
	@Override
	public PortletPreferencesService getPortletPreferencesService() {
		// TODO Auto-generated method stub
		return null;
	}
	/*
	 * (non-Javadoc)
	 * @see org.apache.pluto.OptionalContainerServices#getPortletRegistryService()
	 */
	@Override
	public PortletRegistryService getPortletRegistryService() {
		// TODO Auto-generated method stub
		return null;
	}
	/*
	 * (non-Javadoc)
	 * @see org.apache.pluto.OptionalContainerServices#getUserInfoService()
	 */
	@Override
	public UserInfoService getUserInfoService() {
		// TODO Auto-generated method stub
		return null;
	}
	/*
	 * (non-Javadoc)
	 * @see org.apache.pluto.RequiredContainerServices#getPortalCallbackService()
	 */
	@Override
	public PortalCallbackService getPortalCallbackService() {
		
		return ZebPortalManager.getInstance().getCallbackService();
	}
	/*
	 * (non-Javadoc)
	 * @see org.apache.pluto.RequiredContainerServices#getPortalContext()
	 */
	@Override
	public PortalContext getPortalContext() {
		
		return ZebPortalManager.getInstance().getPortalContext();
	}
	
}
